Troubleshooting and Logs
livenx-ha-primary.service and livenx-ha-secondary.service both log to the Systemd journal. Their logs can be accessed via journalctl:
◦ sudo journalctl -u livenx-ha-primary.service
◦ sudo journalctl -u livenx-ha-secondary.service
In LiveNX 24.2.0, Systemd journals are not persistent. If you need to read through logs after a reboot, look through /var/log/syslog:
◦ sudo grep livenx-ha-secondary /var/log/syslog | less
You can also use systemctl to determine status of the ha services and timers:
◦ Services: find out when they last ran, if they exited without error, etc.
◦ sudo systemctl status livenx-ha-primary.service
◦ sudo systemctl status livenx-ha-secondary.service
◦ Timers: find out if they are running, when they last triggered, when they will trigger next, etc
◦ sudo systemctl status livenx-ha-primary.timer
◦ sudo systemctl status livenx-ha-secondary.timer
◦ Example output:
